package com.carbon.core.pojo;

/**
 * @author czq
 * @date 2021-04-30
 */
public class UserDTO {

    private String name;

    private Integer age;

    private ClassDTO classDTO;

    public String getName() {
        return name;
    }

    public UserDTO setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getAge() {
        return age;
    }

    public UserDTO setAge(Integer age) {
        this.age = age;
        return this;
    }

    public ClassDTO getClassDTO() {
        return classDTO;
    }

    public UserDTO setClassDTO(ClassDTO classDTO) {
        this.classDTO = classDTO;
        return this;
    }

    @Override
    public String toString() {
        return "UserDTO{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", classDTO=" + classDTO +
                '}';
    }
}
